package com.igoal.dao;

import java.util.List;

import com.igoal.entity.ComponentEnum;
import com.igoal.entity.UserTag;

public interface UserTagDAO extends GenericDao<UserTag, Long> {
	UserTag findByInformation(Long userId, Long tagId, ComponentEnum component, Long componentId);
	
	List<UserTag> getTagsOfComponent(Long componentId, ComponentEnum component);
	
	boolean isComponentTagged(Long tagId, ComponentEnum component, Long componentId);
	
	void deleteAllTag(Long componentId, ComponentEnum component);
}
